package com.shuaigef.springbootinit.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 用户-班级关联
 */
@Data
@TableName("user_to_class")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UserToClass implements Serializable {
    
    private static final long serialVersionUID = 1L;

    /**
     * 班级ID
     */
    private Integer classroomId;

    /**
     * 用户ID
     */
    private Integer userId;
} 